export function searchColumns(self) {
  return [
    {
      title: '医院名字',
      name: 'name',
      searchItem: {}
    },
    {
      title: '区域',
      name: 'area',
      dict: self.getArea().dict,
      searchItem: {
        showSearch: true,
        type: 'select',
        loading: self.getArea().loading,  // 加载状态
        onDropdownVisibleChange: (visible) => {
          if (visible) {
            self.dispatch({
              type: `area/getAll`,
            })
          }
        }
      }
    },
  ]
}
